import http from "@/config/request";

/** 获取所有的category */
export const getAllCategory = () => {
    return new Promise((resolve, reject) => {
        http.get("/cms/article-category/page", {params: {pageSize: -1}}).then((res) => {
            resolve(res);
        });
    });
};
